package com.aistar.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

@Controller
@RequestMapping("/register")
public class RegisterController {

    @GetMapping()
    public String register(HttpServletRequest request,String email,String cid,String ePassword) {
        System.out.println(email);
//        request.setAttribute("email",email);
//        request.setAttribute("cid",cid);
//        request.setAttribute("ePassword",ePassword);
        return "/html/view/user/register.html";
    }
}
